package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BizBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * 成本开支对象 biz_cost
 * 
 * @author tianl
 * @date 2025-01-01
 */
@Data
@Accessors(chain = true)
@TableName("biz_cost")
public class BizCost extends BizBaseEntity {
    private static final long serialVersionUID = 1L;

    /** 所属项目 */
    private Long projectId;

    /** 费用类型 */
    @Excel(name = "费用类型"
            ,readConverterExp="1=管理类绩效,2=履约类绩效,3=税费,4=基础成本,5=渠道费,6=委外支出,7=差旅费,8=其他"
            ,sort = 2
    )
    private String costType;

    /** 金额 */
    @Excel(name = "金额",sort = 3)
    private BigDecimal costMoney;
    private BigDecimal costMoneyOriginal;

    /** 备注 */
    @Excel(name = "备注",sort = 4,width = 60)
    private String memo;

    /** 复核人 */
    private Long reviewUserId;

    /** 复核状态 0未复核，1已复核 */
    @Excel(name = "复核状态"
            ,readConverterExp="0=未复核,1=已复核"
            ,sort = 6)
    private Integer status;

    /** 创建人 */
    private Long userId;

    /** 百分比 */
    @Excel(name = "比例",sort = 7)
    private BigDecimal proportion;

    /** 是否财务录入*/
    private Integer addFlag;

    /** 税费*/
    private BigDecimal tax;


}
